﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: ContentPermissionEntity.cs
// 修改时间：2020-9-8 10:40:01
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：ContentPermission 的实体类.
	/// </summary>
	[Table("ContentPermission")]
	public partial class ContentPermissionEntity
	{
		#region Properties
		private int? _generalID = 0;
		/// <summary>
		/// 内容ID(主键)
		/// </summary>
		[Column("GeneralID",TypeName="int")]
		[Key]
		public int? GeneralID
		{
			get {return _generalID;}
			set {_generalID = value;}
		}
		
		private int? _permissionType = 0;
		/// <summary>
		/// 权限类型
		/// </summary>
		[Column("PermissionType",TypeName="int")]
		public int? PermissionType
		{
			get {return _permissionType;}
			set {_permissionType = value;}
		}
		
		private System.String _arrGroupID = string.Empty;
		/// <summary>
		/// 用户组数组
		/// </summary>
		[Column("arrGroupID",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ArrGroupID
		{
			get {return _arrGroupID;}
			set {_arrGroupID = value;}
		}
		
		#endregion
	}
}
